removeOnMotionListener

Unregisters a previously added OnMotionListener.

After this call, the specified listener will no longer receive motion detection events. If the given listener was not previously registered, this method has no effect. Use the same listener instance that was passed to addOnMotionListener.

Parameters

listener

The non-null OnMotionListener instance to unregister.

See also

Throws

if listener is null.